#include "mainwindow.h"
#include <QApplication>
#include<QFile>

int main(int argc, char *argv[])
{

    QApplication a(argc, argv);
    QFile qss(":/style/styleSheet.qss");
    if(qss.open(QFile::ReadOnly)){
        qDebug() << "qss File Open success!";
        QString style = QLatin1String(qss.readAll());
        a.setStyleSheet(style);
        qss.close();
    }else{
        qDebug() << "qss File Open Failed!";

    }

    MainWindow w;
    w.show();

    return a.exec();
}
